package com.yiyi.credit.manage.sso.service.inner;



import com.yiyi.credit.manage.sso.common.exception.ServiceException;
import com.yiyi.credit.manage.sso.model.entity.SysResource;

import java.util.List;


public interface SysResourceService {


    int addSysResource(SysResource sysResource) throws ServiceException;


    int updateSysResource(SysResource sysResource) throws ServiceException;


    void deleteSysResourceById(Long id) throws ServiceException;


    SysResource getSysResourceById(Long id) throws ServiceException;


    List<SysResource> getSysResourceBySysId(Long sysInfoId) throws ServiceException;


    int deleteSysResourceBySid(Long sysInfoId) throws ServiceException;
}
